import http from '../utils/http';

/**
 * 获取列表
 */
function getTypeList(){
    return new Promise((resolve, reject) => {
        http("get",'/reporttype/find').then(res => {
            //console.log("ap-------:"+res);
            resolve (res);
        },error => {
            console.log("网络异常~",error);
            reject(error)
        })
    })
}

export {
    getTypeList
}

